package com.biz.primus.model.adv.vo;

import com.biz.primus.base.vo.PageVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 分页广告信息查询VO
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "广告分页对象")
public class AdvertisementQueryVo extends PageVo {

    @ApiModelProperty("广告位id")
    private long adPositionId;

    @Override
    public void setPage(int page) {
        if (page <= 1) {
            page = 1;
        }
        super.setPage(page);
    }
}
